﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace LRT.Nebula.Components
{
    public abstract class Account
    {
        /// <summary>
        /// 编号
        /// </summary>
        [Display(Name = "编号:")]
        public virtual int ID 
        { 
            get; 
            set; 
        }

        /// <summary>
        /// 用户名
        /// </summary>
        [Display(Name = "用户名:")]
        public virtual string Username 
        { 
            get; 
            set; 
        }

        /// <summary>
        /// 密码
        /// </summary>
        [Display(Name = "密码:")]
        public virtual string Password
        {
            get;
            set;
        }

        /// <summary>
        /// 加密盐
        /// </summary>
        [Display(Name = "加密盐:")]
        public virtual string Salt
        {
            get;
            set;
        }

        /// <summary>
        /// 创建日期
        /// </summary>
        [Display(Name = "创建日期:")]
        public virtual DateTime CreateDate
        {
            get;
            set;
        }
    }
}
